package com.ruoyi.ruoyiyinzheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.ruoyiyinzheng.domain.StDevice;
import com.ruoyi.ruoyiyinzheng.domain.vo.StDeviceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备Mapper接口
 *
 * @author ruoyi
 * @date 2023-09-19
 */
public interface StDeviceMapper extends BaseMapperPlus<StDeviceMapper, StDevice, StDeviceVo> {
    Page<StDeviceVo> selectStDevicePageList(@Param("page") Page<StDevice> page, @Param(Constants.WRAPPER) Wrapper<StDevice> queryWrapper);
    List<StDeviceVo> selectStDeviceList(@Param(Constants.WRAPPER) Wrapper<StDevice> queryWrapper);
}
